package phoenix.web.locators.flirt;

import org.openqa.selenium.By;

import phoenix.web.locators.base.UserPageLocatorsBase;

/**
 * User page locators for Flirt
 */
public class UserPageLocators extends UserPageLocatorsBase
{
	/**
	 * Overrides specific locators
	 */
	public UserPageLocators()
	{
		// Buttons
		btnWink = By.xpath("//button[@class='btn-activity btn-wink']");
		btnWinkActivated = By.xpath("//button[@class='btn-activity btn-wink active']");
		btnAddToFriends = By.xpath("//button[@class='btn-activity btn-favorite']");
		btnAddToFriendsActivated = By.xpath("//button[@class='btn-activity btn-favorite active']");
		btnUpgradeCustom = By.xpath(".//*[@class='upgrade-banner']//a");
		btnMoreOnePhoto = By.xpath(".//*[@class='photos-upgrade-banner']//a");

		// User Photo
		linkFreeCommunication = By.cssSelector(".item.free");
		linkVipInSearch = By.cssSelector(".item.vip");
		linkInvisibleMode = By.cssSelector(".item.invisible");
		linkHotUser = By.cssSelector(".item.hot");

		// Main Info
		blockScreenName = By.xpath("//div[@class='b-screenname']/span[@class='screenname']");
		blockAge = By.xpath("//div[@class='b-user-data']//div[@class='b-age']");
		blockLocation = By.xpath("//div[@class='b-user-data']//div[@class='b-location']");

		// Personal Info
		blockHeight = By.xpath("//a[contains(@href,'height')]/span");
		blockWeight = By.xpath("//a[contains(@href,'weight')]/span");
		blockBodyType = By.xpath("//a[contains(@href,'build')]/span");
		blockEyeColor = By.xpath("//a[contains(@href,'eye_color')]/span");
		blockHairColor = By.xpath("//a[contains(@href,'hair_color')]/span");
		blockPiercing = By.xpath("//a[contains(@href,'pierced')]/span");
		blockTattoos = By.xpath("//a[contains(@href,'tattoo')]/span");
		blockOrientation = By.xpath("//a[contains(@href,'sexual_orientation')]/span");
		blockMaritalStatus = By.xpath("//div[@class='b-column-wrap social-info']/div[1]/a/span");
		blockChildren = By.xpath("//a[contains(@href,'children')]/span");
		blockIncome = By.xpath("//a[contains(@href,'income')]/span");
		blockSmoke = By.xpath("//a[contains(@href,'smoke')]/span");
		blockDrink = By.xpath("//a[contains(@href,'drink')]/span");
		blockEthnicOrigin = By.xpath("//a[contains(@href,'race')]/span");
		blockReligion = By.xpath("//a[contains(@href,'religion')]/span");
		blockEducation = By.xpath("//a[contains(@href,'education')]/span");
		blockLiving = By.xpath("//a[contains(@href,'living')]/span");

		// Looking for Info
		blockLookingGender = By.xpath("(//div[@class='b-data-wrap']//span)[2]");
		blockLookingAge = By.xpath("(//div[@class='b-data-wrap']//span)[4]");
		blockLookingLocation = By.xpath("(//div[@class='b-data-wrap']//span)[6]");
	}
}
